{include file="public/head" /}
  
  <body>
    <div class="x-nav">
      <span class="layui-breadcrumb">
        <a><cite>后台管理</cite></a>
        <a><cite>公众号管理</cite></a>
        <a><cite>关注信息回复</cite></a>
      </span>
      <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon" style="line-height:30px">ဂ</i></a>
    </div>
    <div class="x-body">
      <xblock>
        
      </xblock>
      <table class="layui-table" id="table">
        <thead  style="text-align:center;">
          <tr>
            <th style="text-align: center; font-size: 16px;">所属店铺</th>
            <th style="text-align: center; font-size: 16px;">商品名称</th>
            <th style="text-align: center; font-size: 16px;">是否促销</th>
            
            <th style="text-align: center; font-size: 16px;">商品价格</th>
            <th style="text-align: center; font-size: 16px;">促销价</th>
            <th style="text-align: center; font-size: 16px;">图片</th>  
            <th style="text-align: center; font-size: 16px;">商品类别</th>
            <th style="text-align: center; font-size: 16px;">商品状态</th>
            <th style="text-align: center; font-size: 16px;">操作</th>
          </tr>
        </thead>
        <tbody style="text-align:center;">
            {volist name="data" id="vol"}
             
              <tr>
                <td style="text-align: center;height:60px">{$vol.goodinfo.shop_name}</td>
                <td style="text-align: center;">{$vol.goodinfo.goods_name}</td>
                <td style="text-align: center;">
                {if $vol.goodinfo.promotion_type=="0"}
                  无促销
                {/if}
                {if $vol.goodinfo.promotion_type=="1"}
                  促销
                {/if}</td>
                <td style="text-align: center;">{$vol.goodinfo.price}</td>
                
                <td style="text-align: center;">{$vol.goodinfo.salesprice}</td>
                <td style="text-align: center;"><img src="/shop/upload/{$vol.goodinfo.picture}" style="width:50px;height:50px"/></td>
                <td style="text-align: center;">{$vol.goodinfo.category_name}</td>
                <td style="text-align: center;">
                    {if $vol.goodinfo.state=="0"}
                      待审核
                    {/if}
                    {if $vol.goodinfo.state=="1"}
                     上架
                    {/if}
                    {if $vol.goodinfo.state=="2"}
                     审核失败
                    {/if}
                     {if $vol.goodinfo.state=="3"}
                     下架
                    {/if}
                </td>
               
                <td style="text-align: center;">
                    
                </td>
              </tr>
              
            {/volist}
        </tbody>
      </table>
      <div class="page">
        <div id="page">
          
        </div>
      </div>

    </div>
    
     

    <script>var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();
    </script>

  </body>

</html>